<script language='javascript' type='text/javascript' src="<?=base_url('blocks')?>scripts/block.js"></script>
<?php echo form_open($from_action, array('enctype'=>'multipart/form-data', 'name' =>'frm_course_leaner')); ?>
<?if($msg){?><center><div class="messageBox"><?=$msg?></div></center><?}?>
<p align="center" style="font-weight:bold">ĐĂNG KÝ HỌC VIÊN</p>
<br />

<table border="0" cellspacing="0" cellpadding="0" class="infoTable">
  <tr>
    <td id='infoStr' width="200px">Tên thành viên *:</td>
    <td id='infoInput' align='left'><input name="fullname" id="fullname" type="text" value="<?=h($fullname)?>" size="30" /><?=form_error('fullname');?></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Email đăng nhập *:</td>
    <td id='infoInput' align='left'><input name="login_email" id="login_email" type="text" value="<?=h($login_email)?>" size="30" /><?=form_error('login_email');?></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Mật khẩu *:</td>
    <td id='infoInput' align='left'><input name="password" id="password" type="password" value="" size="30" /><?=form_error('password');?></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Xác nhận Mật khẩu *:</td>
    <td id='infoInput' align='left'><input name="repassword" id="repassword" type="password" value="" size="30" /><?=form_error('repassword');?></td>
  </tr>
  <tr>
    <td id='infoStr'>Image :</td>
    <td id='infoInput' align='left'>
    	<input type="file" size="30" name="imagepath" size="60" maxlength="255" />
    	<img name="image_url" id="image_url" src="<?=base_url()?>application/assets/admin/images/non.jpg" align="top" />   
			
    				
    </td>
  </tr>
  
  <tr>
    <td id='infoStr'>Địa chỉ:</td>
    <td id='infoInput' align='left'><input name="address" id="address" type="text" value="<?=h($address)?>" size="30" /></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Trình độ học vấn:</td>
    <td id='infoInput' align='left'>
		<select name="qualification">
			<option value="0" <?=($qualification==0)?'selected':''?> >-- Chọn --</option>
			<option value="1" <?=($qualification==1)?'selected':''?> >Phổ Thông</option>
			<option value="2" <?=($qualification==2)?'selected':''?> >Trung Cấp</option>
			<option value="3" <?=($qualification==3)?'selected':''?> >Cao Đẳng</option>
			<option value="4" <?=($qualification==4)?'selected':''?> >Đại Học</option>
			<option value="5" <?=($qualification==5)?'selected':''?> >Trên Đại Học</option>
		</select>
	</td>
  </tr>
  <tr>
    <td id='infoStr'>Thông tin thành viên:</td>
    <td id='infoInput' align='left'><textarea cols="40" rows="3"></textarea></td>
  </tr>
  <tr>
    <td id='infoStr'>Mã bảo mật:</td>
    <td id='infoInput' align='left'><input name="sercurity_code" id="sercurity_code" type="text" value="<?=h($sercurity_code)?>" size="30" /></td>
  </tr>
  <input type="hidden" name="course_leaner_id" id="course_leaner_id" value="" />
  <tr>
    <td id='infoStr'>&nbsp;</td>
    <td id='infoInput' align='left'>
        <input type="button" value="Lưu" class="save_button" style="cursor:pointer" onClick="return saveItem(0)" />&nbsp;
        <input type="button" value="Quay về" class="cancel_button" style="cursor:pointer" onClick="go_home()" />
    </td>
  </tr>
</table>
</form>